Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Register repo when cloning and remove mount and unmount #203

Merged
merged 2 commits into from
Oct 30, 2019

Conversation

wilbaker
Copy link
Member

@wilbaker wilbaker commented Oct 29, 2019

Resolves #15
Resolves #118
Part of the work required for #111

  • Register the repo when cloning rather than when mounting
  • Remove mount and unmount verbs (and update functional tests as needed)
  • Update service verb (remove mount-all and unmount-all, rename list-mounted)

Follow up work

Register the repo when cloning rather than when mounting
@wilbaker wilbaker force-pushed the regsiter_when_cloning branch 2 times, most recently from e476e07 to adf535d Compare October 30, 2019 00:50
@wilbaker wilbaker changed the title clone: register repo when cloning Register repo when cloning and remove mount and unmount Oct 30, 2019
@wilbaker wilbaker added this to the MVP milestone Oct 30, 2019
@wilbaker wilbaker force-pushed the regsiter_when_cloning branch from adf535d to b14b20b Compare October 30, 2019 15:37
@wilbaker wilbaker force-pushed the regsiter_when_cloning branch from b14b20b to 681288f Compare October 30, 2019 16:38
Copy link
Contributor

@derrickstolee derrickstolee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Assuming the current build succeeds, I think we should merge as-is. The other TODOs can be their own PRs to keep the size small.

In particular, deleting the mount process code should be easy to demonstrate no change in behavior.

Thoughts?

Edit: italicized above

Copy link
Member

@kewillford kewillford left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only a couple things.

Scalar.FunctionalTests/Tests/GitCommands/ResetSoftTests.cs Outdated Show resolved Hide resolved
Scalar.Installer.Mac/scripts/preinstall Show resolved Hide resolved
@wilbaker
Copy link
Member Author

Assuming the current build succeeds, I think we should merge as-is. The other TODOs can be their own PRs to keep the size small.

In particular, deleting the mount process code should be easy to demonstrate no change in behavior.

Thoughts?

I can go aheads and do that. This will introduce a bit of a regression because right now repos are never being unregistered, however, my next PR can add the auto-unregister behavior we need to the service.

- Remove mount and unmount verbs
- Clone no longer calls mount
- Removed mount-all and unmount-all from the service verb
- Updated functional tests as needed for above changes
- Remove code for unloading the kext from the installer,
  there is no kext for Scalar
- Stop calling 'service --unmount-all' as '--unmount-all' is no
  longer supported.  For now call '--help' instead (until the
  service is able to stop its inflight maintenance task).
@wilbaker wilbaker force-pushed the regsiter_when_cloning branch from 681288f to e0c16fb Compare October 30, 2019 18:08
@wilbaker wilbaker marked this pull request as ready for review October 30, 2019 18:08
@wilbaker wilbaker merged commit f1e7fce into microsoft:master Oct 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants